/*初始化样式开始*/
html {
    font-size: 62.5%;
}
/*5s*/
@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) {
    html {
        font-size: 50%;
    }

}

/*ipad*/
@media only screen and (min-width: 678px), only screen and (min-device-width: 678px) {
    html, body {
        font-size: 100%;
    }
}
body {
    font-size: 1.4rem; /* =16px */
    color: #333;
    background: #f5f5f5;
    padding-bottom: 4rem;
}
img{
    width:100%;
}
ul {
    list-style-type: none;
}
.white-bg{
    background: #FFFFFF!important;
}
/*初始化样式结束*/



/*特定公用类 开始*/
/*字体大小和颜色相关类*/
.xs-font-size{
    font-size: 1.2rem;
}
.sm-font-size{
    font-size: 1.4rem;
}
.md-font-size{
   font-size:  1.6rem;
}
.xl-font-size{
    font-size: 1.8rem;
}
.lg-font-size{
    font-size: 2.4rem;
}
.common-font{
    color: #333333;
}
.pure-gray-font{
    color: #999;
}
.gray-font{
    color:#666;
}
.money-font{
    color: #f45928;
}
.green-font{
    color:#50d1c9 ;
}
.py-box{
    margin-top: 1rem;
    padding: 1rem;
    background: #FFFFFF;
}
.py-box:nth-child(1){
    margin-top: 0;
}
.add-border-bottom{
    border-bottom: 1px solid #f5f5f5;
}

/*特定公用类结束*/



/*所有icon样式*/

/*雪碧图共用icon*/
i.checked-icon,
i.unchecked-icon,
i.more-icon,
i.more-icon2,
i.select-icon,
i.unselect-icon,
i.location-icon,
i.history-icon,
i.order-icon,
i.hot-icon,
i.express-icon,
i.plus-icon,
i.cut-icon
{
    width:1.8rem;
    height: 1.8rem;
    background: url("../images/spirit1.png") no-repeat;
    background-size: 9rem 5.4rem;
}
i.more-icon{
    background-position: -5.4rem 0 ;
}
i.more-icon2{
    background-position: -3.6rem 0 ;
    vertical-align: middle;
}
i.checked-icon{
    background-position:  -1.8rem -3.6rem;
    vertical-align: bottom;
}
i.unchecked-icon{
    background-position:  0 -3.6rem;
    vertical-align: bottom;
}
i.unselect-icon{
    background-position:-3.6rem -3.6rem ;
}
i.select-icon{
    background-position:  -5.4rem -3.6rem;
}
i.location-icon{
   background-position:  0 -1.7rem;
}
i.history-icon{
    background-position:-1.8rem -1.7rem;
    vertical-align: sub;
}
i.express-icon{
    background-position: -7.2rem -1.8rem;
}
i.order-icon{
    background-position: -3.6rem -1.7rem;
}
i.hot-icon{
    background-position: -5.4rem -1.7rem;
    vertical-align: sub;
}

i.plus-icon{
    background-position: 0 0 ;
}
i.cut-icon{
    background-position: -1.8rem 0;
}
/*国家的国旗icon*/

.country-icon{
    width: 1.6rem;
    height: 1.6rem;
    background: url('../images/country.png') no-repeat;
    background-size: 1.5rem 23.4rem;
    vertical-align: sub;
}
.post-icon{
background-position: 0 0.1rem ;
}
.australia-icon{
 background-position: 0 -15.7rem;
}

i.icon-share{
    width:2rem;
    height: 2rem;
    background: url("../images/share.png") no-repeat;
    background-size: 2rem;
}

/*支付logo以及扫描*/
.pay-Agent{
    width: 4.5rem;
    height: 4.5rem;
    background: url("../images/mdbg.png") no-repeat;
    background-size: 9rem 13.5rem;
}
.pay-agent-Alipay{
background-position: -4.5rem 0 ;
}
.pay-agent-Wechat{
    background-position: 0 0;
}
.pen-icon{
    background-position: 0 -4.5rem ;
}
.flash-icon{
    background-position: -4.5rem -4.5rem;
}
.pen-icon-click{
    background-position: -4.5rem -9rem ;
}
.flash-icon-click{
    background-position: 0 -9rem;
}


/*商品详情页面样式 开始*/


.swiper-pagination-bullet-active{
    background: #51d1c9!important;
}
.explain-list{
    width: 3.6rem;
    height:3.6rem;
    background: url("../images/spirit_03.png") no-repeat;
    background-size:15.1rem 3.6rem;
    margin-bottom: 0.2rem;
}
.explain-list.explain-list1{
    background-position: 0 0;
}
.explain-list.explain-list2{
    background-position: -3.8rem 0;
}
.explain-list.explain-list3{
    background-position: -7.7rem 0;
}
.explain-list.explain-list4{
    background-position: -11.5rem 0;
}
/*icon结束*/

#dragBox{
    background: #FFFFFF;
    line-height: 3rem;
}
/*购买*/
#buyBox{
    color: #fff;
    background: #FFFFFF;
    height: 4rem;
    box-shadow:  1px 0 1px 2px #f5f5f5;
    border-top: 1px solid #dadada;
    position: fixed;
    bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#buyBox button{
    width: 100%;
    height: 4rem;
    border-radius: 0;
}
#buyBox #addCart{
    background: #ffab91;
}
#buyBox .red-btn{
    background: #ff5353;
}
i.cart-icon{
    width: 2.2rem;
    height: 2.2rem;
    background: url("../images/cart.png") no-repeat;
    background-size: 2.2rem;
    position: relative;
}
#buyBox #carNumber{
    background: #ff5353;
    position: absolute;
    font-style: normal;
    top:-0.5rem;
    left: 1.4rem;
}
.tabTitle li a{
    background: #ffffff;
    color: #666;
}
.am-nav > li.am-active > a,
.am-nav > li.am-active > a:hover,
.am-nav > li.am-active > a:focus{
    color: #51d1c9;
    background: #FFFFFF;
    border-bottom: 2px solid #51d1c9;
    padding: 0.5rem 0;
}
.am-nav > li > a{ padding: 0.6rem 0;}
#tab2{
    background: #FFFFFF;
    padding-left: 1rem!important;
    padding-right: 1rem!important;
    margin-bottom: 25rem;
}
.good-param{
    border-bottom: 1px solid #f9f9f9;
    line-height: 3rem;
}
.good-param:last-child{
    border-bottom: none;
}


/*商品详情页面样式结束*/



/*购物车页面开始*/
.good-box{
    background: #FFFFFF;
    border-bottom:1px solid #f5f5f5;
    height:10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.good-box .cart-img{
    width: 8.5rem;
    height: 8.5rem;
    margin-right: -1rem;
}
.goodCount{
    width: 4rem;
    height: 2rem;
    border-top: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    border-left: none;
    border-right: none;
    padding:0 0.3rem;
    font-size: 1.2rem;
    text-align: center;
}
i.plus-icon,i.cut-icon{
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    border: 1px solid #d0d0d0;
}
.delete-icon{
    width: 1.4rem;
    height: 1.6rem;
    background: url("../images/delete.png") no-repeat;
    background-size: 1.4rem 1.6rem;
    margin-top: 0.4rem;
}
/*购物车页面结束*/


/*确认订单开始*/
.addressBox{
    height: 8rem;
    padding:1.6rem 1rem ;
    background: url("../images/addressbg.png") repeat-x;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.accountBox{
    background: #FFFFFF;
    border-bottom: 1px solid #f5f5f5;
    line-height: 2.5;
}
.accountBox:last-child{
    border-bottom: none;
}
/*确认订单结束*/

/*支付界面开始*/
.payBox{
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payBtn{
    background: #51d1c9;
    color: #FFFFFF;
    line-height: 2;
    margin: 5rem auto;
}
/*支付界面结束*/


/*订单页面开始*/
.order-header{
    line-height:2.5;
    background: #ffffff;
    border-bottom: 1px solid #f5f5f5;
}
.order-footer{
    background: #FFFFFF;
    line-height: 2.5;
}
.order-footer button{
    padding: 0.4rem 1rem;
}
 .gray-btn{
    background: #FFFFFF;
    border:1px solid #cccccc;
    color: #333333;
}
.order-footer .red-btn{
    background: #FFFFFF;
    border:1px solid #ffa8a8;
    color: #f45b2b;
    margin-left: 1rem;
}
.order-money .sm-font-size{
    line-height: 2;
}
.order-detail-footer{
    box-shadow:  1px 0 1px 2px #f5f5f5;
    border-top: 1px solid #dadada;
    position: fixed;
    bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-detail-footer button{
    height: 3rem;
}
.order-detail-footer button.detail-btn1{
    border: 1px solid #ff5757;
    color: #ff5757;
    background: #FFFFFF;
}
.order-detail-footer button.detail-btn2{
    background-color: #ff5252;
    color: #FFFFFF;
}
/*订单页面结束*/

/*退货退款开始*/
#refundType{
    height: 100%;
    background: #FFFFFF;
}
.refund-type{
    width: 5.5rem;
    height: 5.5rem;
    background: #999999;
    border-radius: 50%;
}
.refund-explain{
    position: relative;
}
.refund-explain textarea{
    height: 10rem;
    resize: none;
    padding: 1rem;
}
.refund-explain .refund-explain-counter{
position: absolute;
right: 2rem;
    bottom: 0.8rem;
}
/*图片文件上传*/
#pictureFile label.picLabel{
    overflow: hidden;
    width: 8rem;
    height: 8rem;
}
#pictureFile input[type="file"]{
    visibility: hidden;
}
#pictureFile  .pic-select{
   background: #50d1c9;
    opacity: 0.5;
    position: relative;
}
#pictureFile  .pic-select:after{
    content: "×";
    display: block;
    width: 1.4rem;
    height: 1.4rem;
    background: #8ab2b0;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 1.4rem;
    color: #FFFFFF;
    font-weight: 100;
}
#pictureFile  .pic-unselect{
    border: 2px dashed #999999;
    background: url("../images/jia.png")no-repeat center center;
}
/*进度*/
.progress-content{
    height: 5rem;
    line-height: 1;
}
.ok-step,.unok-step{
    width:1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    position: relative;
}
.ok-step{
    border: 2px solid #b2dfdb;
    background: #50d1c9;

}
.ok-step:before,.unok-step:before{
    content: "";
    display: block;
    width: 4rem;
    height: 0.1rem;
    position: absolute;
    top: 50%;
    margin-left: -5.5rem;
}
.ok-step:before{
    background: #50d1c9;
}
.ok-step1:before{
    content: none;
}
.unok-step{
    border: 2px solid #e6e6e6;
}
.unok-step:before{
    background: #e6e6e6;
}
.verticle-ok-step,.verticle-unok-step{
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    position: relative;
}
.verticle-ok-step{
    border: 2px solid #b2dfdb;
    background: #50d1c9;
}
.verticle-unok-step{
    border: 2px solid #e6e6e6;
    background: #aaaaaa;
}
.verticle-ok-step:before,.verticle-unok-step:after{
    content: "";
    display: block;
    width: 0.1rem;
    height: 3rem;
    background: #e6e6e6;
    position: absolute;
    left: 50%;
    margin-top: 1.5rem;
}
.verticle-unok-step-last:after{
    content: none;
}

/*退货退款结束*/


/*首页样式开始*/

img.bannebg{
    height: 14rem;
}
.logo-list-box{
    padding-bottom: 1rem;
    padding-top: 2.5rem;
    background: url("../images/logobg.png") no-repeat;
    background-size:100%;
    position: relative;
   margin-top: -2.5rem;
    z-index: 555;
}
.logo-list{
    width: 3.6rem;
    height:3.6rem;
    background: url("../images/index_spirit.png") no-repeat;
    background-size:15.1rem 3.6rem;
    margin-bottom: 0.2rem;
}
.logo-list1{
    background-position:0 0;
}
.logo-list2{
    background-position:-3.8rem 0;
}
.logo-list3{
    background-position:-7.7rem 0;
}
.logo-list4{
    background-position:-11.5rem 0;
}
.rec-title:before{
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 1.2rem;
    background:#999 ;
    margin-right: 0.5rem;
    vertical-align:  sub;
}
.cart-index-icon{
    width:2.4rem;
    height:2.4rem;
    background: url("../images/index_cart.png") no-repeat;
    background-size: 2.4rem;
}
.search{
    width: 50%;
    position: absolute;
    left:50%;
    top: 2rem;
    margin-left: -25%;
    z-index: 6666;
    opacity: 0.8;
}

/*首页导航*/
.navBox{
    height: 4.6rem;
    background: #FFFFFF;
    border-top:1px solid  #f5f5f5;
    position: fixed;
    bottom: 0;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.nav-icon{
    width: 2.4rem;
    height: 2.4rem;
    background: url("../images/tabnav.png") no-repeat;
    background-size: 14.4rem 4.8rem;
}
i.home-icon{
    background-position:0 0 ;
}
i.home-icon-cur{
    background-position:0 -2.4rem ;
}
i.home-cart{
    background-position:-2.4rem  0 ;
}
i.home-cart-cur{
    background-position:-2.4rem -2.4rem ;
}
i.home-user{
    background-position:-4.8rem 0 ;
}
i.home-user-cur{
    background-position:-4.8rem -2.4rem ;
}
i.need-pay{
    background-position:-7.2rem 0 ;
}
i.need-post{
    background-position:-9.6rem 0 ;
}
i.need-accept{
    background-position:-12rem 0 ;
}
i.need-comment{
    background-position:-7.2rem -2.4rem ;
}
i.need-service{
    background-position: -9.6rem -2.4rem ;
}




/*首页样式结束*/

/*搜索界面*/
.search-word{
    background: #f5f5f5;
    margin: 0.5rem  0.4rem  ;
    border: none;
    outline: none;
}
/*搜索界面结束*/


/*搜索结果列表开始*/
/*搜索结果*/

/*个人中心开始*/
.flexbox{
    display: flex;
    align-items: center;
    justify-content: center;
}
.userBanner{
    background: url("../images/userbanner.png") no-repeat;
    background-size: cover;
    color: #FFFFFF;
}
.userBanner img{
    width: 7rem;
    border: 4px solid #b1eceb;
}
.user-center-option{

}
.user-center-line{
    line-height: 3.5;
}

.user-option-icon{
    width:1.4rem;
    height: 1.4rem;
    background: url("../images/useroption.png") no-repeat;
    background-size: 1.4rem 15.4rem;
    vertical-align: sub;
    margin-right: 1rem;
}
.address-option{
    background-position: 0 0 ;
}
.share-option{
    background-position: 0 -1.4rem;
}
.download-option{
    background-position: 0 -2.8rem;
}
.suggest-option{
    background-position: 0 -4.2rem;
}
.more-option{
    background-position: 0 -5.6rem;
}
.phone-option{
    background-position: 0 -7rem;
}
.protocol-option{
    background-position: 0 -8.4rem;
}
.default-address-icon{
    background-position: 0 -9.8rem;
    margin-right: 0.5rem;
}
.set-address-icon{
    background-position: 0 -11.2rem;
    margin-right: 0.5rem;
}
.address-edit-icon{
    background-position: 0 -12.6rem;
    margin-right: 0.5rem;
}
.address-delete-icon{
    background-position: 0 -14rem;
    margin-right: 0.5rem;
    margin-left: 1rem;
}
.none-border{
    border: hidden!important;
}
.none-border:focus{
    outline: hidden!important;
    box-shadow: none!important;
}
#area::-webkit-input-placeholder{
    text-align: right;
}
/*个人中心结束*/